<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自动化点赞系统metoo</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/mhDoLbDldZc3qpsJHpLogda//BVZbgYuw6kof4u2FrCedxOtgRZDTHgHUhOCVim" crossorigin="anonymous"></script>
</head>
<body>

<form>
    <fieldset disabled>
    <div class="mb-3 row">
    <label  class="col-sm-2 col-form-label">点赞地址</label>
        <div class="col-sm-10">
    <input type="input" class="form-control disabledInput" name='address' value={{result_.address}}>
            </div>
    </div>

    <div class="mb-3 row">
    <label class="col-sm-2 col-form-label">帖子ID</label>
           <div class="col-sm-10">
    <input type="input" class="form-control disabledInput" name='ID' value={{result_.ID}}>
                 </div>
    </div>

    <div class="mb-3 row">
    <label class="col-sm-2 col-form-label">Metoo次数</label>
           <div class="col-sm-10">
    <input type="input" class="form-control disabledInput" name='times' value={{result_.times}}>
                 </div>
    </div>

    <div class="mb-3 row">
    <label class="form-label">IP池地址</label>
    <input type="input" class="form-control disabledInput" name='ip_pool' value={{result_.ip_pool}}>
    </div>

<!--    <button type="submit" class="btn btn-primary disabled">提交</button>-->
</fieldset>
</form>

<div>
    <button type="button" class="btn btn-primary">{{result_.progress}}</button>
<button type="button" class="btn btn-secondary">执行次数 {{result_.total}}</button>
<button type="button" class="btn btn-success">成功数{{result_.count}}</button>
</div>

<table class="table table-striped">
  <thead>
    <tr>
      <th scope="col">代理</th>
      <th scope="col">状态</th>
    </tr>
  </thead>
  <tbody>
	  {% for result in result_.detail %}
    <tr>
      <td>{{result.get('proxy', '')}}</td>
      <td>{{result.get('status', '')}}</td>
    </tr>
    {% endfor %}
  </tbody>
</table>


</body>
</html>
